package com.kjtpay.design_pattern.visitor;

/**
 * 男人；要求稳定不变；ConcreteElementA
 */
class Man extends Person {

    public Man() {
        type = "男人";
    }

    @Override
    public String accept(Action action) {
        return action.getManConclusion(this);
    }
}
